<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  <title>H+移动工作平台 - 预算历史</title>
  <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
  <link rel="stylesheet" href="../css/styles.css">
</head>
<body>
  <div class="device-container">
    <!-- 状态栏 -->
    <div class="status-bar">
      <div class="status-bar-left">
        <span class="time">9:41</span>
      </div>
      <div class="status-bar-right">
        <i class="fas fa-signal signal"></i>
        <i class="fas fa-wifi wifi"></i>
        <i class="fas fa-battery-full battery"></i>
      </div>
    </div>
    
    <!-- 导航栏 -->
    <div class="nav-bar">
      <div class="nav-left">
        <a href="budget.html"><i class="fas fa-arrow-left"></i></a>
      </div>
      <div class="nav-title">预算历史</div>
      <div class="nav-right">
        <i class="fas fa-filter"></i>
      </div>
    </div>
    
    <!-- 内容区域 -->
    <div class="app-content">
      <!-- 搜索和筛选 -->
      <div class="p-4">
        <div class="search-bar">
          <i class="fas fa-search search-icon"></i>
          <input type="text" class="search-input" placeholder="搜索预算记录">
        </div>
        
        <!-- 筛选标签 -->
        <div class="flex overflow-x-auto py-2">
          <div class="flex-shrink-0 px-3 py-1 mx-1 rounded-full bg-blue-500 text-white text-sm">全部</div>
          <div class="flex-shrink-0 px-3 py-1 mx-1 rounded-full bg-gray-100 text-gray-600 text-sm">2024年</div>
          <div class="flex-shrink-0 px-3 py-1 mx-1 rounded-full bg-gray-100 text-gray-600 text-sm">2023年</div>
          <div class="flex-shrink-0 px-3 py-1 mx-1 rounded-full bg-gray-100 text-gray-600 text-sm">设备采购</div>
          <div class="flex-shrink-0 px-3 py-1 mx-1 rounded-full bg-gray-100 text-gray-600 text-sm">培训费用</div>
          <div class="flex-shrink-0 px-3 py-1 mx-1 rounded-full bg-gray-100 text-gray-600 text-sm">差旅费用</div>
        </div>
      </div>
      
      <!-- 预算历史列表 -->
      <div class="card mx-4 mb-4">
        <div class="card-header">
          <span>2024年度预算</span>
          <div class="text-xs text-gray-500">内科部门</div>
        </div>
        <div class="card-body p-0">
          <!-- 设备采购预算 -->
          <a href="budget_detail.html" class="list-item">
            <div>
              <div class="flex items-center">
                <i class="fas fa-laptop-medical text-blue-500 mr-2"></i>
                <span>设备采购预算</span>
              </div>
              <div class="flex items-center text-xs text-gray-500 mt-1">
                <span>申请日期：2024-01-10</span>
                <span class="mx-2">|</span>
                <span>申请人：张医生</span>
              </div>
              <div class="flex items-center text-xs text-gray-500 mt-1">
                <span>预算金额：¥400,000.00</span>
                <span class="mx-2">|</span>
                <span>已使用：¥180,000.00 (45%)</span>
              </div>
            </div>
            <i class="fas fa-chevron-right text-gray-400"></i>
          </a>
          
          <!-- 培训费用预算 -->
          <a href="budget_detail.html" class="list-item">
            <div>
              <div class="flex items-center">
                <i class="fas fa-graduation-cap text-green-500 mr-2"></i>
                <span>培训费用预算</span>
              </div>
              <div class="flex items-center text-xs text-gray-500 mt-1">
                <span>申请日期：2024-01-15</span>
                <span class="mx-2">|</span>
                <span>申请人：李主任</span>
              </div>
              <div class="flex items-center text-xs text-gray-500 mt-1">
                <span>预算金额：¥200,000.00</span>
                <span class="mx-2">|</span>
                <span>已使用：¥60,000.00 (30%)</span>
              </div>
            </div>
            <i class="fas fa-chevron-right text-gray-400"></i>
          </a>
          
          <!-- 差旅费用预算 -->
          <a href="budget_detail.html" class="list-item">
            <div>
              <div class="flex items-center">
                <i class="fas fa-plane text-purple-500 mr-2"></i>
                <span>差旅费用预算</span>
              </div>
              <div class="flex items-center text-xs text-gray-500 mt-1">
                <span>申请日期：2024-01-20</span>
                <span class="mx-2">|</span>
                <span>申请人：王医生</span>
              </div>
              <div class="flex items-center text-xs text-gray-500 mt-1">
                <span>预算金额：¥150,000.00</span>
                <span class="mx-2">|</span>
                <span>已使用：¥37,500.00 (25%)</span>
              </div>
            </div>
            <i class="fas fa-chevron-right text-gray-400"></i>
          </a>
        </div>
      </div>
      
      <!-- 2023年度预算 -->
      <div class="card mx-4 mb-4">
        <div class="card-header">
          <span>2023年度预算</span>
          <div class="text-xs text-gray-500">内科部门</div>
        </div>
        <div class="card-body p-0">
          <!-- 设备采购预算 -->
          <a href="budget_detail.html" class="list-item">
            <div>
              <div class="flex items-center">
                <i class="fas fa-laptop-medical text-blue-500 mr-2"></i>
                <span>设备采购预算</span>
              </div>
              <div class="flex items-center text-xs text-gray-500 mt-1">
                <span>申请日期：2023-01-12</span>
                <span class="mx-2">|</span>
                <span>申请人：张医生</span>
              </div>
              <div class="flex items-center text-xs text-gray-500 mt-1">
                <span>预算金额：¥350,000.00</span>
                <span class="mx-2">|</span>
                <span>已使用：¥350,000.00 (100%)</span>
              </div>
            </div>
            <i class="fas fa-chevron-right text-gray-400"></i>
          </a>
          
          <!-- 培训费用预算 -->
          <a href="budget_detail.html" class="list-item">
            <div>
              <div class="flex items-center">
                <i class="fas fa-graduation-cap text-green-500 mr-2"></i>
                <span>培训费用预算</span>
              </div>
              <div class="flex items-center text-xs text-gray-500 mt-1">
                <span>申请日期：2023-01-18</span>
                <span class="mx-2">|</span>
                <span>申请人：李主任</span>
              </div>
              <div class="flex items-center text-xs text-gray-500 mt-1">
                <span>预算金额：¥180,000.00</span>
                <span class="mx-2">|</span>
                <span>已使用：¥175,000.00 (97%)</span>
              </div>
            </div>
            <i class="fas fa-chevron-right text-gray-400"></i>
          </a>
          
          <!-- 差旅费用预算 -->
          <a href="budget_detail.html" class="list-item">
            <div>
              <div class="flex items-center">
                <i class="fas fa-plane text-purple-500 mr-2"></i>
                <span>差旅费用预算</span>
              </div>
              <div class="flex items-center text-xs text-gray-500 mt-1">
                <span>申请日期：2023-01-25</span>
                <span class="mx-2">|</span>
                <span>申请人：王医生</span>
              </div>
              <div class="flex items-center text-xs text-gray-500 mt-1">
                <span>预算金额：¥120,000.00</span>
                <span class="mx-2">|</span>
                <span>已使用：¥118,500.00 (99%)</span>
              </div>
            </div>
            <i class="fas fa-chevron-right text-gray-400"></i>
          </a>
        </div>
      </div>
      
      <!-- 加载更多 -->
      <div class="text-center p-4">
        <button class="btn btn-outline w-full">加载更多</button>
      </div>
    </div>
  </div>
</body>
</html>